import express from 'express'

// /api/v1/admin
const router = express.Router();

// 注册分类的子路由
import categoryRoutes from "./category.js"
// /api/v1/admin/category
router.use("/category",categoryRoutes)

import articleRoutes from "./article.js"
// /api/v1/admin/article
router.use("/article",articleRoutes)

// /api/v1/admin/user
// import userRouter from "./user.js"
// router.use("/user",userRouter);

export default router;
